/*
 * Out.java
 *
 * Created on 23 de Novembro de 2006, 13:09
 */

package orgii_micro_uff;

import java.util.Vector;

/**
 *
 * @author  Heliomar kann
 */
public class Out extends javax.swing.JInternalFrame {
    
    /** Creates new form Out */
    
    private JDesktop desktop;
    public Out(JDesktop desktop) {
        initComponents();
        this.desktop = desktop;
    }   
    
    public void outPut(int saida){
        this.jTextArea1.append(""+saida);
        this.setVisible(true);
        desktop.add(this);
        
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
        jScrollPane1 = new javax.swing.JScrollPane();
        jTextArea1 = new javax.swing.JTextArea();

        setClosable(true);
        setTitle("Sa\u00edda");
        jTextArea1.setColumns(20);
        jTextArea1.setRows(5);
        jScrollPane1.setViewportView(jTextArea1);

        getContentPane().add(jScrollPane1, java.awt.BorderLayout.CENTER);

        pack();
    }// </editor-fold>//GEN-END:initComponents
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextArea jTextArea1;
    // End of variables declaration//GEN-END:variables
    
}
